package com.cevent.yameng.web.mall.member;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 1.Nacos注册服务：@EnableDiscoveryClient
 * 2.openFeign远程调用服务：@EnableFeignClients(声明远程调用扫描包，指定开启@FeignClient的类)
 */
@EnableFeignClients(basePackages = "com.cevent.yameng.web.mall.member.feign")
@EnableDiscoveryClient
@SpringBootApplication
public class YamengMallMemberApplication {

    public static void main(String[] args) {
        SpringApplication.run(YamengMallMemberApplication.class, args);
    }

}
